<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>YBRequest Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">YBNetworkingDemoDoc </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">嘉联支付有限公司</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/api">api</option>
		
		<option value="//api/name/dataParamater">dataParamater</option>
		
		<option value="//api/name/downloadSavePath">downloadSavePath</option>
		
		<option value="//api/name/failureBlock">failureBlock</option>
		
		<option value="//api/name/finishedBlock">finishedBlock</option>
		
		<option value="//api/name/headers">headers</option>
		
		<option value="//api/name/httpMethod">httpMethod</option>
		
		<option value="//api/name/identifier">identifier</option>
		
		<option value="//api/name/parameters">parameters</option>
		
		<option value="//api/name/paramsType">paramsType</option>
		
		<option value="//api/name/progressBlock">progressBlock</option>
		
		<option value="//api/name/requestSerializerType">requestSerializerType</option>
		
		<option value="//api/name/requestType">requestType</option>
		
		<option value="//api/name/responseSerializerType">responseSerializerType</option>
		
		<option value="//api/name/retryCount">retryCount</option>
		
		<option value="//api/name/server">server</option>
		
		<option value="//api/name/successBlock">successBlock</option>
		
		<option value="//api/name/timeoutInterval">timeoutInterval</option>
		
		<option value="//api/name/uploadFormDatas">uploadFormDatas</option>
		
		<option value="//api/name/url">url</option>
		
		<option value="//api/name/useGeneralHeaders">useGeneralHeaders</option>
		
		<option value="//api/name/useGeneralParameters">useGeneralParameters</option>
		
		<option value="//api/name/useGeneralServer">useGeneralServer</option>
		
		<option value="//api/name/userInfo">userInfo</option>
		
	</optgroup>
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/cleanCallbackBlocks">- cleanCallbackBlocks</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">YBRequest Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>YBRequest.h<br />YBRequest.m</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/identifier" title="identifier"></a>
	<h3 class="method-title"><code><a href="#//api/name/identifier">&nbsp;&nbsp;identifier</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>YBRequest 对象 唯一标识 当请求发送时，由YBCenter分配</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *identifier</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>YBRequest 对象 唯一标识 当请求发送时，由YBCenter分配</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/server" title="server"></a>
	<h3 class="method-title"><code><a href="#//api/name/server">&nbsp;&nbsp;server</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求的服务器地址 例:&ldquo;<a href="https://jlpay.com/mpos/">https://jlpay.com/mpos/</a>&rdquo; 默认为nil 如果‘useGeneralServer’是'YES(默认)&lsquo;,则在YBCenter中使用'generalServer'的值作为请求地址</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) NSString *server</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求的服务器地址 例:&ldquo;<a href="https://jlpay.com/mpos/">https://jlpay.com/mpos/</a>&rdquo; 默认为nil 如果‘useGeneralServer’是'YES(默认)&lsquo;,则在YBCenter中使用'generalServer'的值作为请求地址</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/api" title="api"></a>
	<h3 class="method-title"><code><a href="#//api/name/api">&nbsp;&nbsp;api</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求地址路径 例:&ldquo;service/login&rdquo; 默认为nil</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) NSString *api</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求地址路径 例:&ldquo;service/login&rdquo; 默认为nil</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/url" title="url"></a>
	<h3 class="method-title"><code><a href="#//api/name/url">&nbsp;&nbsp;url</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>完整请求地址 例:&ldquo;<a href="https://jlpay.com/mpos/service/login">https://jlpay.com/mpos/service/login</a>&rdquo; 默认为nil 如果设置该请求地址会忽略 ‘server’和‘api’的值 无论是否设置</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) NSString *url</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>完整请求地址 例:&ldquo;<a href="https://jlpay.com/mpos/service/login">https://jlpay.com/mpos/service/login</a>&rdquo; 默认为nil 如果设置该请求地址会忽略 ‘server’和‘api’的值 无论是否设置</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/parameters" title="parameters"></a>
	<h3 class="method-title"><code><a href="#//api/name/parameters">&nbsp;&nbsp;parameters</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求参数 (YBRequestEncryptNormal接口不加密/YBRequestParamatersTypeDictinary) 如果'useGeneralParameters'是'YES(默认)&lsquo;,则在YBCenter中把'generalParameters'添加到'parameters'中</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSDictionary&lt;NSString*id&gt; *parameters</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求参数 (YBRequestEncryptNormal接口不加密/YBRequestParamatersTypeDictinary) 如果'useGeneralParameters'是'YES(默认)&lsquo;,则在YBCenter中把'generalParameters'添加到'parameters'中</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dataParamater" title="dataParamater"></a>
	<h3 class="method-title"><code><a href="#//api/name/dataParamater">&nbsp;&nbsp;dataParamater</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求参数 请求参数为NSData类型数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSData *dataParamater</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求参数 请求参数为NSData类型数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/headers" title="headers"></a>
	<h3 class="method-title"><code><a href="#//api/name/headers">&nbsp;&nbsp;headers</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求头 如果'useGeneralHeaders'是'YES(默认)&lsquo;,则在YBCenter中把'generalHeaders'添加到'headers'中</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSDictionary&lt;NSString*NSString*&gt; *headers</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求头 如果'useGeneralHeaders'是'YES(默认)&lsquo;,则在YBCenter中把'generalHeaders'添加到'headers'中</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/useGeneralServer" title="useGeneralServer"></a>
	<h3 class="method-title"><code><a href="#//api/name/useGeneralServer">&nbsp;&nbsp;useGeneralServer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>默认为'YES' ,在YBCenter中当'server'为nil时使用 &lsquo;generalServer&rsquo;</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL useGeneralServer</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>默认为'YES' ,在YBCenter中当'server'为nil时使用 &lsquo;generalServer&rsquo;</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/useGeneralHeaders" title="useGeneralHeaders"></a>
	<h3 class="method-title"><code><a href="#//api/name/useGeneralHeaders">&nbsp;&nbsp;useGeneralHeaders</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>默认为'YES',在YBCenter中 是否将'generalHeaders'添加到'headers'中，默认添加</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL useGeneralHeaders</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>默认为'YES',在YBCenter中 是否将'generalHeaders'添加到'headers'中，默认添加</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/useGeneralParameters" title="useGeneralParameters"></a>
	<h3 class="method-title"><code><a href="#//api/name/useGeneralParameters">&nbsp;&nbsp;useGeneralParameters</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>默认为'YES',在YBCenter中 是否将'generalParameters'添加到'parameters'(请求参数) (YBRequestEncryptNormal/YBRequestParamatersTypeDictinary 接口使用)</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL useGeneralParameters</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>默认为'YES',在YBCenter中 是否将'generalParameters'添加到'parameters'(请求参数) (YBRequestEncryptNormal/YBRequestParamatersTypeDictinary 接口使用)</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/requestType" title="requestType"></a>
	<h3 class="method-title"><code><a href="#//api/name/requestType">&nbsp;&nbsp;requestType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求类型 Normal, Upload ,Download&hellip;</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) YBRequestType requestType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求类型 Normal, Upload ,Download&hellip;</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/httpMethod" title="httpMethod"></a>
	<h3 class="method-title"><code><a href="#//api/name/httpMethod">&nbsp;&nbsp;httpMethod</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求方法类型 YBHTTPMethodGET YBHTTPMethodPOST&hellip;</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) YBHTTPMethodType httpMethod</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求方法类型 YBHTTPMethodGET YBHTTPMethodPOST&hellip;</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/paramsType" title="paramsType"></a>
	<h3 class="method-title"><code><a href="#//api/name/paramsType">&nbsp;&nbsp;paramsType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>接口请求参数类型</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) YBRequestParamatersType paramsType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>接口请求参数类型</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/requestSerializerType" title="requestSerializerType"></a>
	<h3 class="method-title"><code><a href="#//api/name/requestSerializerType">&nbsp;&nbsp;requestSerializerType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求参数编码格式</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) YBRequestSerializerType requestSerializerType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求参数编码格式</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/responseSerializerType" title="responseSerializerType"></a>
	<h3 class="method-title"><code><a href="#//api/name/responseSerializerType">&nbsp;&nbsp;responseSerializerType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>请求返回的编码格式</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) YBResponseSerializerType responseSerializerType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>请求返回的编码格式</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/timeoutInterval" title="timeoutInterval"></a>
	<h3 class="method-title"><code><a href="#//api/name/timeoutInterval">&nbsp;&nbsp;timeoutInterval</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>超时时间 默认60S</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSTimeInterval timeoutInterval</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>超时时间 默认60S</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/retryCount" title="retryCount"></a>
	<h3 class="method-title"><code><a href="#//api/name/retryCount">&nbsp;&nbsp;retryCount</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前请求失败重试次数 默认为0</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSUInteger retryCount</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前请求失败重试次数 默认为0</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/userInfo" title="userInfo"></a>
	<h3 class="method-title"><code><a href="#//api/name/userInfo">&nbsp;&nbsp;userInfo</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前请求的 UserInfo 默认为nil generalUserInfo被使用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSDictionary *userInfo</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前请求的 UserInfo 默认为nil generalUserInfo被使用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/successBlock" title="successBlock"></a>
	<h3 class="method-title"><code><a href="#//api/name/successBlock">&nbsp;&nbsp;successBlock</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前请求成功时回调</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly, nullable) YBSuccessBlock successBlock</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前请求成功时回调</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/failureBlock" title="failureBlock"></a>
	<h3 class="method-title"><code><a href="#//api/name/failureBlock">&nbsp;&nbsp;failureBlock</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前请求失败时回调</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly, nullable) YBFailureBlock failureBlock</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前请求失败时回调</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/finishedBlock" title="finishedBlock"></a>
	<h3 class="method-title"><code><a href="#//api/name/finishedBlock">&nbsp;&nbsp;finishedBlock</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当前请求完成时回调</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly, nullable) YBFinishedBlock finishedBlock</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当前请求完成时回调</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/progressBlock" title="progressBlock"></a>
	<h3 class="method-title"><code><a href="#//api/name/progressBlock">&nbsp;&nbsp;progressBlock</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当请求为Upload和Download时 progress更新是回调</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly, nullable) YBProgressBlock progressBlock</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当请求为Upload和Download时 progress更新是回调</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/cleanCallbackBlocks" title="cleanCallbackBlocks"></a>
	<h3 class="method-title"><code><a href="#//api/name/cleanCallbackBlocks">&ndash;&nbsp;cleanCallbackBlocks</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>当一个请求完成时 将当前请求block置为nil 消除潜在的循环引用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)cleanCallbackBlocks</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当一个请求完成时 将当前请求block置为nil 消除潜在的循环引用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/uploadFormDatas" title="uploadFormDatas"></a>
	<h3 class="method-title"><code><a href="#//api/name/uploadFormDatas">&nbsp;&nbsp;uploadFormDatas</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>upload request 上传文件数据 默认为nil 当<a href="#//api/name/requestType">requestType</a> 为‘YBRequestUpload’时使用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSMutableArray&lt;YBUploadFormData*&gt; *uploadFormDatas</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>upload request 上传文件数据 默认为nil 当<a href="#//api/name/requestType">requestType</a> 为‘YBRequestUpload’时使用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/downloadSavePath" title="downloadSavePath"></a>
	<h3 class="method-title"><code><a href="#//api/name/downloadSavePath">&nbsp;&nbsp;downloadSavePath</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>下载文件的保存路径 默认为nil 当<a href="#//api/name/requestType">requestType</a> 为‘YBRequestDownload’时使用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) NSString *downloadSavePath</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>下载文件的保存路径 默认为nil 当<a href="#//api/name/requestType">requestType</a> 为‘YBRequestDownload’时使用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBRequest.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2020 嘉联支付有限公司. All rights reserved. Updated: 2020-08-21</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>